home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / DevTools / ClassEditor.0.4 / Source / RZBrowserCell.subproj / RZRefCountedList.h < prev    next >
Encoding:
Text File  |  1995-04-04  |  556 b   |  27 lines

  1. /* 
  2.  * RZRefCountedList - a List that implements reference counting
  3.  *
  4.  * You may freely copy, distribute and reuse the code in this example.
  5.  * This code is provided AS IS without warranty of any kind, expressed 
  6.  * or implied, as to its fitness for any particular use.
  7.  *
  8.  * Copyright 1995 Ralph Zazula (rzazula@next.com).  All Rights Reserved.
  9.  *
  10.  */
  11.  
  12. #import <objc/List.h>
  13. #import <machkit/reference.h>
  14.  
  15. @interface RZRefCountedList : List <NXReference>
  16. {
  17.     unsigned int refs;
  18. }
  19.  
  20. - addReference;
  21. - free;
  22. - (unsigned int)references;
  23. - freeObjects;
  24.  
  25. @end
  26.  
  27.